<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="moduleView" />
</head>
<body>
	<div class="panel panel-default">
		<div class="col-xs-12 panel-heading">
			<h2 class="panel-title o-v-action">
				<a class="btn btn-default pull-right" role="button"
					href="javascript:void(0)" onclick="history.go(-1)">返回</a> <a
					class="btn btn-danger pull-right" role="button"
					href="${contextPath}/biz/brand/backUpBrand/${backupBrand.id}/delete"
					onclick="return Oosp_Confirm('确认要删除全部数据吗？', this.href)">删除</a> <a
					class="btn btn-primary pull-right" role="button"
					href="${contextPath}/biz/brand/backUpBrand/${backupBrand.id}/edit">修改</a>
			</h2>
		</div>
		<div>
			<ul class="nav nav-tabs" id="myTab">
				<li class="active"><a href="#home" data-toggle="tab">代理或经营品牌信息</a></li>
			</ul>
			<div class="tab-content">
				<div class="tab-pane active" id="home">
					<table class="table table-bordered">
						<tbody>
							<tr>
								<td class="text-right" style="width: 20%"><strong>品牌中文名称:</strong></td>
								<td>${backupBrand.brandCname}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>品牌英文名称:</strong></td>
								<td>${backupBrand.brandEname}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>招商分类:</strong></td>
								<td>${backupBrand.investmentCate}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>经营门店总数:</strong></td>
								<td>${backupBrand.managementShops}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>经营业绩总计:</strong></td>
								<td>${backupBrand.sales}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>合作需求:</strong></td>
								<td>${backupBrand.coopNeed}</td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>是否计划与茂业合作:</strong></td>
								<td><c:if test="${backupBrand.isCoopPlan}=='0'">否</c:if> <c:if
										test="${backupBrand.isCoopPlan}=='1'">是</c:if></td>
							</tr>
							<tr>
								<td class="text-right" style="width: 20%"><strong>是否删除:</strong></td>
								<td><c:if test="${backupBrand.isActive}=='A'">否</c:if> <c:if
										test="${backupBrand.isActive}=='I'">是</c:if></td>
							</tr>
						</tbody>
					</table>
					
					<ul class="nav nav-tabs" id="myTab">
						<li class="active"><a href="#home" data-toggle="tab">供应商覆盖范围</a></li>
					</ul>
					<table class="table table-bordered">
						<thead>
							<tr>
							<th>商城业态</th>
							<th>省份编码</th>
							<th>城市编码</th>
							<th>商城编码</th>
							<th>楼层</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${backupBrand.mgtScopeList}"
								varStatus="var">
								<tr>
									<td>${backupBrand.mgtScopeList[var.index].marketType}
									<c:if test="${backupBrand.mgtScopeList[var.index].marketType}=='0'">百货</c:if> <c:if
										test="${backupBrand.mgtScopeList[var.index].marketType}=='1'">购物中心</c:if>
									</td>
									
									<td>${backupBrand.mgtScopeList[var.index].provinceNo}</td>
									<td>${backupBrand.mgtScopeList[var.index].cityNo}</td>
									<td>${backupBrand.mgtScopeList[var.index].companyNo}</td>
									<td>${backupBrand.mgtScopeList[var.index].floor}</td>

								</tr>
							</c:forEach>
						</tbody>
					</table>
					<div class="panel-footer"></div>
				</div>
				<div class="tab-pane" id="history">
					<iframe id="versionFrame" name="versionFrame" scrolling="no"
						frameborder="no" width="100%"></iframe>
				</div>
			</div>
		</div>
	</div>
</body>
</html>